package YahooFinance.android.api;

import YahooFinance.MarketDataBeanRepository;
import YahooFinance.YahooQuoteFetcher;
import YahooFinance.helper.updatethread.AndroidUpdateThread;
import YahooFinance.helper.updatethread.UpdateThread;
import android.app.Activity;
import android.widget.TextView;

public class AndroidApi {

	//TextView mTextView;
	//String mStockSymbol;
	
	//public AndroidApi (TextView pTextView) {
		//this.mTextView = pTextView;
	//}
	
	public static void startViewingStockPrices(String pStockSymbol, Activity pActivity,TextView pTextView) {
		YahooQuoteFetcher lFetcher = new YahooQuoteFetcher(pStockSymbol,true,true,MarketDataBeanRepository.getInstance());
		UpdateThread lUpdateThread = new AndroidUpdateThread(6, lFetcher,pActivity, pTextView);
		
	}
}
